package com.chen.recruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.recruit.common.api.CommonResult;
import com.chen.recruit.domain.College;
import com.chen.recruit.domain.dto.CollegeDto;

import java.util.List;

/**
 * 院系Service接口
 *
 * @author cgy
 * @date 2022-08-20
 */
public interface CollegeService extends IService<College> {

    CommonResult addOrUpdateCollege(College college);

    CommonResult deleteCollegeById(Integer id);

    List<CollegeDto> getCollegesByCondition(College college);

}
